package com.sky.mapper;

import com.github.pagehelper.Page;
import com.sky.entity.Dish;
import com.sky.entity.DishFlavor;
import com.sky.vo.DishVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishFlavorMapper {

    void addBatch(List<DishFlavor> dishFlavorList);

    Page<DishVO> page(Dish dish);

    List<DishFlavor> getDishFlavor(Long id);

    void deleteFlavorByDishId(Dish dish);

}
